﻿using System.Threading.Tasks;
using System;
using AliFox.BaseService.Systems.UserManagement.Dto;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Identity;
using Volo.Abp.Application.Services;

namespace AliFox.BaseService.Systems.UserManagement;

public interface IUserAppService : IApplicationService
{
    Task<BaseIdentityUserDto> Get(Guid id);

    Task<IdentityUserDto> Create(BaseIdentityUserCreateDto input);

    Task<IdentityUserDto> UpdateAsync(Guid id, BaseIdentityUserUpdateDto input);

    Task<PagedResultDto<BaseIdentityUserDto>> GetAll(GetBaseIdentityUsersInput input);
}